<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>智慧大屏</title>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <link href="../static/css/echarts.css" th:href="@{/css/echarts.css}" rel="stylesheet"/>
</head>
<body>
<header>
    <h1>基于遥感数据的生态环境质量监测可视化平台</h1>
    <div class="showTime">当前时间：2020年3月17-0时54分14秒</div>
    <script>
        var t = null;
        t = setTimeout(time, 1000); //开始运行
        function time() {
            clearTimeout(t); //清除定时器
            dt = new Date();
            var y = dt.getFullYear();
            var mt = dt.getMonth() + 1;
            var day = dt.getDate();
            var h = dt.getHours(); //获取时
            var m = dt.getMinutes(); //获取分
            var s = dt.getSeconds(); //获取秒
            document.querySelector(".showTime").innerHTML =
                "当前时间：" +
                y +
                "年" +
                mt +
                "月" +
                day +
                "-" +
                h +
                "时" +
                m +
                "分" +
                s +
                "秒";
            t = setTimeout(time, 1000); //设定定时器，循环运行
        }
    </script>
</header>
<section class="mainbox">
    <div class="column">
        <div class="panel button">
            <button type="button" id="button1" class="my-button" onclick="button1Click()">NDBSI</button>
            <button type="button" id="button2" class="my-button" onclick="button2Click()">NDVI</button>
            <button type="button" id="button3" class="my-button" onclick="button3Click()">WET</button>
            <button type="button" id="button4" class="my-button" onclick="button4Click()">LST</button>
            <script>
            </script>
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>
    </div>
    <div class="column">
        <div class="panel map">
            <div class="chart"></div>
            <div class="map"></div>

            <div class="panel-footer"></div>
        </div>
        <!-- <div class="container">
             <div class="layer">图层内容</div>
         </div>-->
        <div class="layer1">
            <div class="chart"></div>
        </div>


    </div>
    <div class="column">
        <div class="panel line2">
            <div class="chart"></div>
            <div class="panel-footer"></div>
        </div>
        <div class="panel bar1">
            <div class="chart"></div>
            <div class="panel-footer"></div>
            <div class="panel-center"></div>
        </div>
        <div class="panel bar2">
            <div class="chart" ></div>
            <div class="panel-footer"></div>
        </div>
    </div>
</section>

<div class="panel line1">
    <div class="chart"></div>
    <div class="panel-footer"></div>
</div>

<script th:src="@{/js/echarts.js}"></script>
<script th:src="@{/js/flexible.js}"></script>
<script th:src="@{/js/index.js}"></script>
</body>
</html>